package com.wdh.drools.web;

import com.wdh.drools.bean.UserBean;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/degree")
    public String getDegree(@RequestBody UserBean user){
        return "ok";
    }
}
